home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 7.8 / 2001-11_Disc_7.8.bin / Data / items.pcg / scripts / DefineButton2_237 / BUTTONCONDACTION on(release, releaseOutside, dragOut).as < prev   
Text File  |  2001-08-16  |  172b  |  8 lines

  1. on(release, releaseOutside, dragOut){
  2.    if(_parent.scrollMax < _parent.num_Files)
  3.    {
  4.       stopDrag();
  5.       _parent.scrollBoxControl.gotoAndPlay("stop");
  6.    }
  7. }
  8.